package main

import (
	"fmt"
	"time"
)

func main() {
	timeStart := time.Now().UnixNano() // 纳秒
	time.Sleep(1500 * time.Millisecond)

	timeEnd := time.Now().UnixNano() // 纳秒

	timeSpeed := (float64(timeEnd) - float64(timeStart)) / 1e9

	txs := 800 / timeSpeed

	txsStr := fmt.Sprintf("%f", txs)

	fmt.Println(txsStr)

}
